﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace notepadplus.VirtualHTML_Environment.DeviceManager
{
    public partial class mainwindow : Form
    {
        public mainwindow()
        {
            InitializeComponent();
        }

        private void menuItem7_Click(object sender, EventArgs e)
        {
            MessageBox.Show("VirtualHTML Environment for Notepad+ v0.0.2", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void menuItem5_Click(object sender, EventArgs e)
        {
            if (System.IO.File.Exists("C:\\Program Files\\VirtualHTML\\dm\\content.help")) {
                // TODO: start help file
            }
            else
            {
                MessageBox.Show("Help file is not installed. Install VirtualHTML and try it again!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
    }
}
